table of contents
LEAPP(1) | User Commands | LEAPP(1) |
NAME¶
leapp - command line interface for upgrades between major OS versions
SYNOPSIS¶
leapp [-h|--help] [--version] <command> [command options]
DESCRIPTION¶
leapp is a command line utility for running specific workflows related to upgrading between major OS releases. Currently, it's able to perform upgrades from RHEL 7 to RHEL 8.
OPTIONS¶
-h, --help
Show usage info and exit.
--version
Show version number of the utility and exit.
COMMANDS¶
preupgrade
Generates a pre-upgrade report.
upgrade
Upgrades the current system to the next available major version.
answer
Manages answerfile generation: registers persistent user choices for specific
dialog sections.
list-runs
Lists previous leapp upgrade executions.
COMMAND SPECIFIC OPTIONS¶
preupgrade/upgrade¶
--debug
Print all available log messages (debug, info, warning, error, critical) and
the output of executed commands to stderr.
By default only error and critical level messages are printed.
--verbose
Print all but debug log messages (info, warning, error, critical) to stderr.
By default only error and critical level messages are printed.
--enablerepo <repoid>
Enable specified repository. Can be used multiple times.
--no-rhsm
Skip actions that use Red Hat Subscription Manager. You'll also have to
supply custom repositories through --enablerepo (see above).
--whitelist-experimental <ActorName>
Enable an experimental actor. Can be used multiple times.
To use this variable, LEAPP_UNSUPPORTED has to be set. See
Developer variables for more information.
--report-schema <version>
Force the report format to conform to a specific version of the report
schema. Expected values: 1.0.0, 1.1.0. Defaults to
1.1.0.
--reboot
(upgrade only) Automatically perform reboot when requested.
--resume
(upgrade only) Continue the last execution after it was stopped (e.g. after
reboot).
answer¶
--add
If set, sections will be created even if missing in original answerfile.
--section <dialog_sections>
Register answer for a specific section in the answerfile. Can be used
multiple times.
ENVIRONMENT¶
If the argument for the environment variables below is not specified, it is possible to set them to either 1 (true) or 0 (false). They default to 0.
LEAPP_CONFIG
LEAPP_LOGGER_CONFIG
LEAPP_ENABLE_REPOS
LEAPP_DEBUG
LEAPP_VERBOSE
LEAPP_GRUB_DEVICE
LEAPP_NO_RHSM
LEAPP_OVL_SIZE
LEAPP_SERVICE_HOST
LEAPP_PROXY_HOST
Developer variables¶
These variables shouldn't be needed under typical circumstances.
LEAPP_UNSUPPORTED
By setting this variable to 1, you acknowledge that the upgrade is not going to be supported by Red Hat.
LEAPP_DEVEL_RPMS_ALL_SIGNED
LEAPP_DEVEL_TARGET_RELEASE <version>
LEAPP_DEVEL_SKIP_CHECK_OS_RELEASE
LEAPP_DEVEL_DM_DISABLE_UDEV
LEAPP_DEVEL_SOURCE_PRODUCT_TYPE <product_type>
LEAPP_DEVEL_TARGET_PRODUCT_TYPE <product_type>
EXIT CODES¶
0 - No error occurred.
1 - Any actor in a workflow reported an error (through calling report_error or raising StopActorExecutionError).
REPORTING BUGS¶
Report bugs to bugzilla (https://bugzilla.redhat.com) under the `Red Hat Enterprise Linux 7` product and the `leapp-repository` component.
SEE ALSO¶
More info available at https://leapp.readthedocs.io/.
2024-02-13 | leapp 0.17.0 |